-
Notifications
You must be signed in to change notification settings - Fork 427
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
receiver: gather host names from HOSTS_INFO feature and show them #842
Conversation
Test with device that has HOSTS_INFO feature. Changing hosts would be better if the hosts had names. This PR attempts to gather these names. To test, run |
getting this on solar show:
|
Grr. Python. Grr. This bug should be fixed now. |
It works, but solaar show is quite slow now, gets stuck in few places
|
I'm not sure what 0 is currently ( checked, it's windows 10 ), usually it's android, 1 is main which is Linux, and 2 is Mac, enduser facing numbering needs to be changed to correspond with keys otherwise it can be confusing. LO detects #1 as just windows. In LO it's written exactly as: |
f2d6ae2
to
cbee537
Compare
@barolo I expect that LO is defaulting to Windows when it doesn't have any other information. @saue0 The function get_host_names(device) can be used to get this information. (Currently it's only in this PR.) The function will return a dictionary from host numbers to a pair of a boolean (whether this host is paired) and the host name. |
@pfps erros out with:
|
Argh. It's items. OK fixed. hopefully. |
Yup, works now, and is cleaned up
|
Addresses #806